package org.jeecg.qis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.qis.entity.QisProcdetailCfg;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 过程检验配置明细表
 * @Author: shaolong
 * @Date: 2022-10-10
 * @Version: V1.0
 */
public interface QisProcdetailCfgMapper extends BaseMapper<QisProcdetailCfg> {

	/**
	 * 通过主表id删除子表数据
	 *
	 * @param mainId 主表id
	 * @return boolean
	 */
	public boolean deleteByMainId(@Param("mainId") String mainId);

	/**
	 * 通过主表id查询子表数据
	 *
	 * @param mainId 主表id
	 * @return List<QisProcdetailCfg>
	 */
	public List<QisProcdetailCfg> selectByMainId(@Param("mainId") String mainId);

}
